package org.cainiao.api.lark.dto.response.docs.docs.apireference.document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.cainiao.api.lark.dto.response.docs.docs.apireference.document.text.LarkTextElement;
import org.cainiao.api.lark.dto.response.docs.docs.apireference.document.text.LarkTextStyle;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class LarkText implements Serializable {

    @Serial
    private static final long serialVersionUID = -4867177243895822837L;

    /**
     * 文本样式
     */
    private LarkTextStyle style;

    /**
     * 文本元素
     */
    private List<LarkTextElement> elements;
}
